module('MultiTouchControl', package.seeall)

local MULTITOUCHCOUNT = 0

function EnableMultiTouch()
    if MULTITOUCHCOUNT == 0 then
        Input.multiTouchEnabled = true
    end
    MULTITOUCHCOUNT = MULTITOUCHCOUNT + 1
end

function DisableMultiTouch()
    MULTITOUCHCOUNT = MULTITOUCHCOUNT - 1
    if MULTITOUCHCOUNT == 0 then
        Input.multiTouchEnabled = false
    end
end